import http from '@/utils/http.js'
//合同协议
export function agreement(type){
	return http({
		url:`/get_agreement/${type}`
	})
}
//首页轮播
export function advert(type){
	return http({
		url:`/banners/${type}`
	})
}
//商家入驻申请
export function storeapply(data){
		return http({
			url:'/store/apply',
			method:'POST',
			data
		})
}
//商家类型
export function storetype(){
	return http({
		url:'/store/type'
	})
}